package com.wzy.portfolio.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "基金监控对象")
@Data
public class FundMonitorDto {

    @Schema(description = "数据库主键")
    private int id;

    @Schema(description = "基金名")
    private String fundName;

    @Schema(description = "基金编码")
    private String fundCode;

    @Schema(description = "基金市值")
    private double fundValue;

    @Schema(description = "基金类型")
    private String fundType;

    @Schema(description = "持有账号")
    private String stockAccount;

    @Schema(description = "数量")
    private double num;

    @Schema(description = "成本")
    private double costPrice;

    @Schema(description = "日涨幅监控")
    private double monitorDayPct;

    @Schema(description = "累计收益监控")
    private double monitorCumulativeEarnings;

    @Schema(description = "实时涨跌幅")
    private double changePct;

    @Schema(description = "当前实时价")
    private double currentPrice;

    @Schema(description = "近一个月收益")
    private double rate30;

    @Schema(description = "近三个月收益")
    private double rate90;

    @Schema(description = "近六个月收益")
    private double rate180;

    @Schema(description = "近一年收益")
    private double rate365;

    @Schema(description = "实时收益")
    private double realEarnings;

    @Schema(description = "持仓收益")
    private double positionEarnings;

    @Schema(description = "历史收益")
    private double historyEarnings;

    @Schema(description = "该基金经理名")
    private String managerName;

    @Schema(description = "监控状态")
    private int monitorStatus;

    @Schema(description = "持有状态")
    private int ownStatus;

    @Schema(description = "备注信息")
    private String remark;

    @Schema(description = "通知信息")
    private String notifyMsg;

}
